<?php
/**
 * Yii view main
 *
 * @author luubk
 * @since Dec 22, 2012 - 3:32:21 PM
 */
?>
<!DOCTYPE html>
<html lang="en">
    <head>
        <script src="<?php echo $this->asset ?>/js/jquery.min.js"></script>
        <meta charset="utf-8">
        <title><?php echo $this->pageTitle ?> - <?php echo Option::getItem('site_name'); ?></title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="">
        <meta name="author" content="">

        <!-- Le styles -->
        <link href="<?php echo $this->asset ?>/css/mystyle.css" rel="stylesheet">
        <link href="<?php echo $this->asset ?>/css/bootstrap.css" rel="stylesheet">

        <link rel="stylesheet" href="<?php echo $this->asset ?>/css/jquery-ui-1.8.16.custom.css" media="screen"  />
        <link rel="stylesheet" href="<?php echo $this->asset ?>/css/fullcalendar.css" media="screen"  />
        <link rel="stylesheet" href="<?php echo $this->asset ?>/css/chosen.css" media="screen"  />
        <link rel="stylesheet" href="<?php echo $this->asset ?>/css/datepicker.css" >
        <link rel="stylesheet" href="<?php echo $this->asset ?>/css/colorpicker.css">
        <link rel="stylesheet" href="<?php echo $this->asset ?>/css/glisse.css?1.css">
        <link rel="stylesheet" href="<?php echo $this->asset ?>/css/jquery.jgrowl.css">
        <link rel="stylesheet" href="<?php echo $this->asset ?>/css/jquery.tagsinput.css" />
        <link rel="stylesheet" href="<?php echo $this->asset ?>/css/demo_table.css" >
        <link rel="stylesheet" href="<?php echo $this->asset ?>/js/export/css/TableTools.css" >
        <link rel="stylesheet" href="<?php echo $this->asset ?>/css/validationEngine.jquery.css">
        <link rel="stylesheet" href="<?php echo $this->asset ?>/css/jquery.stepy.css" />
        <link rel="stylesheet" href="<?php echo $this->asset ?>/css/icon/font-awesome.css">    
        <link rel="stylesheet" href="<?php echo $this->asset ?>/css/bootstrap-responsive.css">   
        <script>
            ASSET_DIR ='<?php echo $this->asset ."/"?>'
        </script>
        <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
          <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
        <!--[if lte IE 8]><script type="text/javascript" src="/js/excanvas.min.js"></script><![endif]-->

        <!-- Le fav and touch icons -->
        <link rel="shortcut icon" href="<?php echo $this->asset ?>/images/icons/favicon.ico">

    </head>
    <body>

        <?php echo $content ?>

        <!-- Le javascript
        ================================================== -->
        <!-- Placed at the end of the document so the pages load faster -->
        <script src="<?php echo $this->asset ?>/js/jquery-ui.min.js"></script>
        <script src="<?php echo $this->asset ?>/js/bootstrap.min.js"></script>

        <script src="<?php echo $this->asset ?>/js/bootstrap-datepicker.js"></script>        
        <script src="<?php echo $this->asset ?>/js/jquery.flot.min.js"></script>        
        <script src="<?php echo $this->asset ?>/js/graphtable.js"></script>        
        <!--<script src="<?php // echo $this->asset ?>/js/chosen.jquery.min.j"></script>-->        
        <script src="<?php echo $this->asset ?>/js/google-code-prettify/prettify.js"></script>
        <script src="<?php echo $this->asset ?>/js/jquery.jgrowl_minimized.js"></script>
        <script src="<?php echo $this->asset ?>/js/export/ZeroClipboard/ZeroClipboard.js"></script>
        <script src="<?php echo $this->asset ?>/js/jquery.mousewheel.js"></script>
        <script src="<?php echo $this->asset ?>/js/jquery.jscrollpane.min.js"></script>                
        <script src="<?php echo $this->asset ?>/js/raphael.2.1.0.min.js"></script>
        <script src="<?php echo $this->asset ?>/js/justgage.1.0.1.min.js"></script>
        <script src="<?php echo $this->asset ?>/js/glisse.js"></script>

        <script src="<?php echo $this->asset ?>/js/application.js"></script>

        <script>
<?php if (Yii::app()->user->hasFlash('noti')): ?>
    <?php $ColorMess = Yii::app()->user->getFlash('noti'); ?>
                $.jGrowl(
                        '<?php echo $ColorMess ?>',
                        {
                            header: '<?php echo Yii::t('main', 'Notification') ?>',
                position : 'bottom-right'
                        }
                );
<?php endif; ?>
        </script>
    </body>
</html>